package com.umakr.ax.common.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.umakr.ax.core.base.BaseModel;

import java.util.Date;


/**
 * <p>
 * 第三方平台帐号信息
 * </p>
 *
 * @author Wmdz
 * @since 2018-01-09
 */
@TableName("rd_wechat_open_account")
@SuppressWarnings("serial")
public class WechatOpenAccount extends BaseModel {

	@TableField("create_time")
	private java.util.Date createTime;
	@TableField("update_time")
	private java.util.Date updateTime;
	@TableField("del_status")
	private Integer delStatus ;

	@TableField("appid")
	private String appid;
	@TableField("appsecret")
	private String appsecret;
	@TableField("encoding_aes_key")
	private String encodingAesKey;
	@TableField("token")
	private String token;
	@TableField("auth_type")
	private Integer authType;
	@TableField("auth_code")
	private String authCode;

	/**第三方平台推送 : ticket*/
	@TableField("ticket")
	private String ticket;
	/**第三方平台推送 : ticket获取时间*/
	@TableField("add_ticket_time")
	private java.util.Date addTicketTime;

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getAppsecret() {
		return appsecret;
	}

	public void setAppsecret(String appsecret) {
		this.appsecret = appsecret;
	}

	public String getEncodingAesKey() {
		return encodingAesKey;
	}

	public void setEncodingAesKey(String encodingAesKey) {
		this.encodingAesKey = encodingAesKey;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getTicket() {
		return ticket;
	}

	public void setTicket(String ticket) {
		this.ticket = ticket;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getDelStatus() {
		return delStatus;
	}

	public void setDelStatus(Integer delStatus) {
		this.delStatus = delStatus;
	}

	public String getAuthCode() {
		return authCode;
	}

	public void setAuthCode(String authCode) {
		this.authCode = authCode;
	}

	public Integer getAuthType() {
		return authType;
	}

	public void setAuthType(Integer authType) {
		this.authType = authType;
	}

	public Date getAddTicketTime() {
		return addTicketTime;
	}

	public void setAddTicketTime(Date addTicketTime) {
		this.addTicketTime = addTicketTime;
	}
}
